﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Client_UserControl_ucPayment : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if ((Session[Global.SESSION_TOTAL] == null) || (Session[Global.SESSION_SHIPTO] == null) || (Session[Global.SESSION_CART] == null))
            {
                Response.Redirect("~/Client/Products.aspx");
            }
            else
            {
                InitPage();
                TotalAmount();
            }
        }
    }

    private void TotalAmount()
    {
        
    }
    private void InitPage()
    {
        int year = DateTime.Now.Year;
        for (int i = 1; i < 5; i++)
        {
            cboYear.Items.Add(new ListItem((year + i).ToString(), (year + i).ToString()));
        }
    }
}
